package com.scholarship.modules.login.service;

import com.scholarship.modules.login.dto.LoginInfoDto;
import com.scholarship.modules.login.entity.Role;
import com.scholarship.modules.login.entity.User;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface LoginService {

    /**
     * 登录
     * @param userId
     * @param password
     * @param rememberMe
     * @return
     */
    String login(String userId, String password, Boolean rememberMe) throws Exception;

    /**
     * 修改密码
     * @param email
     * @param password
     */
    void changePassword(String email,String password);
}
